home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / amiga / modelers / chmsthtc / chmsthtc.lzh / Chemesthetics / Source / Source.LZH / lmkfile < prev    next >
Encoding:
Text File  |  1991-10-22  |  2.2 KB  |  78 lines

  1. # make chemesthetics with the SAS/Lattice C 5.10, Metalworx 08-Oct-91
  2. #
  3. # warning!!!! Do not invoke global optimizer GO (-O) on palettereq.c and
  4. #          eingabe.c, on my system it always leads to crashes!
  5. #
  6.  
  7. LANG=GERMAN
  8. DEBUG=-O
  9. CFLAGS=-d$(LANG) -ff -cstu -Hpre.sym -iinclude:pdomain -qdh0: -q5
  10. CFLAGS2=-d$(LANG) -ff -cstu -iinclude:pdomain -j132 -qdh0: -q5
  11.  
  12. # flags: -d$(LANG)           define language symbol at compile time
  13. #     -d2             enable debugging mode 2
  14. #     -ff             use FFP floating point routines
  15. #     -csut             delete duplicate string constants, treat all
  16. #                 chars as unsigned, enable warnings for non-
  17. #                 defined structure or union tags
  18. #     -Hpre.sym         use precompiled includes for faster compilation
  19. #     -i...             set my own Include dir to be searched too
  20. #     -j132             suppress warning #132 (tokens after #endif)
  21. #     -O             invoke global optimizer
  22. #     -mt             minimaze code for time
  23. #     -qdh0:          place quad (temporary) file in dh0:
  24. #     -q5             stop compile after 5 errors
  25.  
  26. OFILES=chemest.o eingabe.o rev.o logo.o credits.o requests.o\
  27.  rout:palettereq.o metalworx.o globalstructs.o statistics.o prefs.o\
  28.  license.o sysinfo.o rout:_main.o saveiff.o ilbmw.o diskio.o zeit_angabe.o
  29.  
  30. all: chemest
  31.  
  32. chemest: pre.sym $(OFILES)
  33.   BLINK WITH chemest.with
  34.   increv
  35.  
  36. pre.sym: pre.c
  37.   lc -csu -iinclude:pdomain -j132 -ph -opre.sym -q5 pre.c
  38.  
  39. chemest.o: chemest.c chemest.h
  40.   lc $(CFLAGS2) $(DEBUG) chemest
  41.  
  42. eingabe.o: eingabe.c eingabe.h
  43.   lc $(CFLAGS2) eingabe
  44.  
  45. rev.o: rev.c
  46.   lc rev
  47.  
  48. logo.o: logo.c logo.h
  49.   lc $(CFLAGS) $(DEBUG) -ca  logo
  50.  
  51. credits.o: credits.c credits.h messages.h
  52.  
  53. metalworx.o: metalworx.c metalworx.h
  54.   lc $(CFLAGS) $(DEBUG) -ca metalworx
  55.  
  56. statistics.o: statistics.c
  57.   lc $(CFLAGS) $(DEBUG) -ca statistics
  58.  
  59. prefs.o: prefs.c prefs.h
  60.   lc $(CFLAGS2) $(DEBUG) -ca prefs
  61.  
  62. license.o: license.c license.h
  63.   lc $(CFLAGS) $(DEBUG) -ca license
  64.  
  65. requests.o: requests.c
  66.   lc $(CFLAGS) $(DEBUG) -ca requests
  67.  
  68. rout:palettereq.o: rout:palettereq.c rout:palettereq.h
  69.  
  70. sysinfo.o: sysinfo.c
  71.   lc $(CFLAGS) $(DEBUG) -ca sysinfo.c
  72.  
  73. diskio.o: diskio.c cdmicon.h
  74.   lc $(CFLAGS2) $(DEBUG) -ca diskio.c
  75.  
  76. zeit_angabe.o: zeit_angabe.c zeit_angabe.h
  77.   lc $(CFLAGS2) $(DEBUG) -ca zeit_angabe.c
  78.